package com.itheima.service.impl;

import com.itheima.pojo.Dept;

import java.util.List;

/**
 * @version 1.0
 * @description CGLIB 动态代理
 * @package com.itheima.service.impl
 */
public class DeptServiceSubImpl extends DeptServiceImpl{
    @Override
    public List<Dept> findAll() {
        // 之前增强
        List<Dept> deptList = super.findAll();
        // 写代码
        return deptList;
    }
}
